package spec.dengyuru.arrayList;

public class Queue_LinkListTest {
    private  LinkedList  ll=new LinkedList();
    //进队
    public  void put(object o){
        ll.add(o);
    }
    //出队
    public  void  remove(){
        return ll.removeFirst();
    }

    //获取队列长度
    public  void  size(){
        return  ll.size();
    }

    public static void main(String[] args) {
        Queue_LinkListTest queue=new Queue_LinkListTest();
        System.out.println(queue.size());
        queue.put("张三");
        queue.put("李四");
        queue.put("小吴");
        queue.put("赵六");
        System.out.println(queue.size());
        System.out.println(queue.remove());
        System.out.println(queue.remove());

    }
}

